package com.gdupt.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gdupt.entity.ServiceManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务管理 服务管理 服务类
 * </p>
 *
 * @author gdupt
 * @since 2018-11-21
 */
public interface IServiceManagementService extends IService<ServiceManagement> {
        boolean insertService(ServiceManagement serviceManagement);
        //模糊查询
        List<ServiceManagement> findNewService(IPage page,@Param("customerName") String customerName,
                                               @Param("outline") String outline,@Param("serviceType") String serviceType);
        //更新状态status
        boolean updateStatus(Map map);
}
